Skip to content

adding fallback for getting tooltip arrow color#139

Merged
djanhjo merged 4 commits intodevelopfrom
dan.ho_tooltip-arrow-color
Apr 1, 2026
Merged

adding fallback for getting tooltip arrow color#139
djanhjo merged 4 commits intodevelopfrom
dan.ho_tooltip-arrow-color

Conversation

@djanhjo
Copy link
Copy Markdown
Contributor

@djanhjo djanhjo commented Mar 31, 2026

Note

Medium Risk
Changes how tooltipArrowColor is resolved and introduces a new fallback path that depends on message.displaySettings shape, which could affect tooltip rendering if message data/types don’t match expectations.

Overview
Adds a dedicated resolveMessageTooltipColor helper and updates resolveMessageProperties to compute tooltipArrowColor via a fallback chain.

If gist.tooltipArrowColor is missing, the resolver now attempts to pull tooltipArrowColor from message.displaySettings (preferring the step matching savedStepName, otherwise the first step) before defaulting to #fff.

Written by Cursor Bugbot for commit 6ebb542. This will update automatically on new commits. Configure here.

@djanhjo djanhjo requested a review from a team as a code owner March 31, 2026 21:55
Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

@djanhjo djanhjo merged commit da9936e into develop Apr 1, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants